import { ValueOf } from '@/utils/type';

export const PERMISSION_STATUS_MENU = {
    DISABLE: 0,
    ENABLE: 1,
} as const;

export type PERMISSION_STATUS_KEYS = ValueOf<typeof PERMISSION_STATUS_MENU>;

export const PERMISSION_STATUS_MENU_MAP = {
    [PERMISSION_STATUS_MENU.DISABLE]: {
        title: '禁用',
        value: PERMISSION_STATUS_MENU.DISABLE,
    },
    [PERMISSION_STATUS_MENU.ENABLE]: {
        title: '启用',
        value: PERMISSION_STATUS_MENU.ENABLE,
    },
};
